package com.iflytek.ssm.usermanage.dao;

import org.apache.ibatis.annotations.Param;

import com.iflytek.ssm.usermanage.entity.User;


public interface UserMapper {

	User getByName(@Param("name") String name);

	/**
	 * 根据id查找用户
	 * 
	 * @param id
	 *            主键
	 * @return 用户信息
	 */
	User getById(@Param("id") Integer id);

}
